﻿//app.service('GlobalFactory', ['$http', function ($http) {

//    var factory = {};

//    factory.GetChurchMemberbyChurchId = function () {
//        alert();
//    }


//    return factory;
       

//}]);


app.factory('GlobalFactory', function ($http) {
    return {
        GetChurchMemberbyChurchId: function () {
            return $http.get('GetAllChurchMembersByChurch');
        }
    }
});
